package com.tjetc.hw.hw4;

import java.io.FileInputStream;
import java.io.IOException;

public class hw {
    public static void main(String[] args) throws IOException {
        FileInputStream fileInputStream = new FileInputStream("D:a.txt");
        int num;
        while ((num=fileInputStream.read())!=-1){
            System.out.println((char)num);
        }
    }
}
